#include "ia042.h"
#include <ctype.h>

void countInts(FILE * fptr, int * counts)
{
  char c;
  do
    {
      c = fgetc(fptr);
      if (islower(c))
	{
	  counts[c - 'a'] ++;
	}
      if (isupper(c))
	{
	  counts[c - 'A'] ++;
	}	
    } while (c != EOF);
}

